package models

import "time"

// 权限
type Authority struct {
	Id               int64     `xorm:"pk autoincr" json:"authorityId"`
	CategoryId       int64     `xorm:"comment('权限分类id')" json:"category"`
	Name             string    `xorm:"comment('权限名称')" json:"authorityName"`
	Code             string    `xorm:"comment('权限识别码')" json:"authorityCode"`
	Created          time.Time `xorm:"created comment('创建时间')" json:"-"`
	Deleted          time.Time `xorm:"deleted comment('删除时间')" json:"-"`
	AuthorityCreated string    `xorm:"-" json:"authorityCreated"`
	IsChecked        int       `xorm:"-" json:"authorityIsChecked"`
}
